package com.example.auth.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserVo {

    @NotBlank(message = "账号不得为空")
    private String username;

    @NotBlank(message = "密码不得为空")
    private String password;

    private Integer sex;

    private String mail;
}
